package com.acme.domain;

import java.io.IOException;

public class StartClient {

	public static void start(String adress, int port,String username){
		try {
			new Writer(adress,port);
			new Reader(adress,port,username);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	
	public static void shutdown(){
		Writer.shutdown();
	}
}
